package com.kc.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.kc.bean.GroudPermission;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2019-10-17
 */
public interface GroudPermissionMapper extends BaseMapper<GroudPermission> {

    @Select("select Permission from groud_Permission ${ew.customSqlSegment}")
    List<String> GetPermission(@Param(Constants.WRAPPER) Wrapper wrapper);

}
